import request from '@/utils/request'

// 查询查询命令查询字段列表
export function listBiSqlSelectField(query) {
  return request({
    url: '/conf/BiSqlSelectField/list',
    method: 'get',
    params: query
  })
}

// 查询查询命令查询字段详细
export function getBiSqlSelectField(id) {
  return request({
    url: '/conf/BiSqlSelectField/' + id,
    method: 'get'
  })
}

// 新增查询命令查询字段
export function addBiSqlSelectField(data) {
  return request({
    url: '/conf/BiSqlSelectField',
    method: 'post',
    data: data
  })
}

// 修改查询命令查询字段
export function updateBiSqlSelectField(data) {
  return request({
    url: '/conf/BiSqlSelectField',
    method: 'put',
    data: data
  })
}

// 删除查询命令查询字段
export function delBiSqlSelectField(id) {
  return request({
    url: '/conf/BiSqlSelectField/' + id,
    method: 'delete'
  })
}
